import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI)

import {searchParam} from "./utils/seacrhParams";
Vue.prototype.searchParam = searchParam

import JsonExcel from 'vue-json-excel'
Vue.component('downloadExcel', JsonExcel)

// 地图
import BaiduMap from 'vue-baidu-map'
/*https://dafrok.github.io/vue-baidu-map/#/zh/start/usage*/
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'beOk1qwCbSUbojdVXdNwPVj8ytUcwhGp'
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
